<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/admin/common.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>配网数据-单位管理</title>
<link href="<%=basePath %>admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/css/llcss.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=basePath %>js/jquery/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/hd_ll.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/common.js"></script>
<script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
var commonCompanyId;
</script>
<script type="text/javascript" src="<%=basePath %>admin/m/js/companylist.js"></script>
<style type="">
.page1{ margin:19px 0 18px 0; font-size: 14px; line-height: 22px; text-align: center;}
.page1 a{ display: inline-block; height: 22px; color: #979797; padding: 0 7px; border:1px solid #d3d3d3; }
.page1 span{ display: inline-block; height: 22px; color: #979797; padding: 0 7px; border:1px solid #d3d3d3; }
.page1 a:hover,.page1 a.intro{ background:#ededed;}
.half{width: 50%;float: left;}
.cls{clear: both;}
.info_revise ul li span{width: 90px}
.add_members_box .complete_box_submit{text-align: center;}
.add_members_box .complete_box_submit .complete_submit{margin-left: 0}
.dwjj{background: #F0F0F0;border: 1px solid #E0E0E0;border-radius: 5px;font-size: 16px;height: 134px;line-height: 1.8em;padding: 10px;width: 240px;resize:none}
/*id为page的分页工具样式  */
#page{ 
	margin:19px 0 18px 0;
	font-size: 14px; 
	line-height: 22px; 
	text-align: center;
}
#page a{ 
	display: inline-block; 
	height: 22px; color: #979797; 
	padding: 0 7px; 
	border:1px solid #d3d3d3;
	margin-right: 1px; 
}
#page span{ 
	display: inline-block; 
	height: 22px; color: #979797; 
	padding: 0 7px; 
	border:1px solid #d3d3d3; 
	margin-right: 1px;
}
#page a:hover,#page a.intro{ 
	background:#ededed;
}
.phbg{ background:url(img/bg.jpg) 0 0 no-repeat;}
</style>
</head>
<body bgcolor="white">
<div style="display: none; width: 900px; left: 350px;" class="add_members_box" id="detailBox">
	<div class="add_members_box_title">
		<label id="title">单位详情</label>
		<img class="close" alt="" src="<%=basePath %>user/images/add_members_close.jpg" style="left: 865px">
	</div>
	<form name="detailFomr" id="detailForm">
	<input type="hidden" name="companyId" />
	<div style="padding-bottom:20px" class="info_revise">
		<ul>
			<li>
				<div class="half">
					<span>单位名称：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="companyName" readonly="readonly"/>
				</div>
				<div class="half">
					<span>地区：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="address" readonly="readonly"/>
				</div>
			</li>
			<li>
				<div class="half">
					<span>上级单位：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="parentCompanyName" readonly="readonly"/>
				</div>
				<div class="half">
					<span>付费状态：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="vip" readonly="readonly"/>
				</div>
			</li>
			<li>
				<div class="half">
					<span>加入时间：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="createTime" readonly="readonly"/>
				</div>
				<div class="half">
					<span>单位状态：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="status" readonly="readonly" />
				</div>
			</li>
			<li>
				<div class="half">
					<span>联系人：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="contactPerson" readonly="readonly"/>
				</div>
				<div class="half">
					<span>联系人电话：</span>
					<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="tel" readonly="readonly"/>
				</div>
			</li>
			<li>
				<div class="half">
					<span>单位简介：</span>
					<textarea class="dwjj" rows="5" cols="20" name="remark" readonly="readonly"></textarea>
				</div>
				<div class="half">
					<div class="pay">
						<span>付费有效期：</span>
						<input class="user_name" style="width: 250px" type="text" name="invalidTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"/>
					</div>
					<div class="pay1">
						<span>付费有效期：</span>
						<input type="text" value="" style="width: 250px" maxlength="20" class="user_name" name="invalidTime" readonly="readonly"/>
					</div>
				</div>
			</li>
		</ul>
	</div>
	</form>
    <div class="complete_box_submit pay"><input type="button" value="付 费" onclick="approvePay();" class="complete_submit"></div>
</div>
<div style="display: none; width: 900px; left: 350px;" class="add_members_box" id="companyUserListBox">
<div class="members_list">
	<div class="add_members_box_title">
	<label style="">单位用户列表</label>
	<img class="close" alt="" src="<%=basePath %>user/images/add_members_close.jpg" style="left: 865px">
	</div>
	<div class="pwsj_czrz_choose">
		<form name="userlist" id="userlist">
		<input type="button" value="导 出" onclick="exportUserList();" style="margin-top:10px;margin-bottom:10px;" class="submit"/>
		</form>
	</div>
	<div id="userexportimg" style="display:none;" class="progress_bar">
		<p>数据正在导出，请您稍后...</p>
		<div class="gif"><img alt="" src="../images/downloading.gif">&nbsp;&nbsp;</div>
	</div>
	<div class="pwsj_right_czrz_cont_title" style="width:100%">
		<ul class="czrz_title_ul" style="border-left:none;border-right:none;">
			<li class="number" style="width: 10%">序号</li>
			<li class="companyName" style="width: 25%">单位名称</li>
			<li class="userName" style="width: 20%">用户名称</li>
			<li class="phonenumber" style="width: 20%">联系人电话</li>
			<li class="jointime" style="width: 25%">加入时间</li>
		</ul>				
	</div>
	<div id="contentlist">
	</div>
	<div class="clear"></div>
</div>
<div id="page">
       <a href="#">首页</a>
       <a href="#">上一页</a>
       <a class="intro" href="#">1</a>
       <a href="#">下一页</a>
       <a href="#">末页</a>
</div>
</div>
	<%@ include file="/admin/head.jsp"%>
	<div class="pwsj_cont_box">
	<%@ include file="/admin/left.jsp"%>
	<!-- 右侧内容_begin -->
	<div class="pwsj_cont_right_box">
		<div class="members_manage">
			<div class="pwsj_right_czrz_title">单位管理</div>
			<div class="pwsj_czrz_choose">
				<form name="searchForm" id="searchForm">
				<select class="province" id="province" name="provinceCode">
					<option value ="" >省份</option>  
				</select>
				<select class="city" id="city" name="cityCode">  
					<option value ="" selected="selected">城市</option>  
				</select>
				<select class="country" id="country" name="areaCode">  
					<option value ="" selected="selected">区/县</option>  
				</select>
				<select class="vip" id="vip" name="vip">  
					<option value ="" selected="selected">付费状态</option>  
					<option value ="0">试用单位</option>  
					<option value ="1">付费单位</option>  
				</select>
				<input onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" type="text" placeholder="开始时间" class="select_date" id="beginTime" name="beginTime"/>
				<input onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" type="text" placeholder="结束时间" class="select_date" id="endTime" name="endTime"/>
				<input class="select_date" style="background: none;" type="text" name="companyName" placeholder="请输入公司名称"/>
				<input type="button" value="查 询" onclick="goToPage(1);" class="submit"/>
				<input type="button" value="导 出" onclick="exportexcle();" class="submit"/>
				</form>
			</div>
			<div class="clear"></div>
			<div id="exportimg" style="display:none;" class="progress_bar">
				<p>数据正在导出，请您稍后...</p>
				<div class="gif"><img alt="" src="../images/downloading.gif">&nbsp;&nbsp;</div>
			</div>
			<div class="pwsj_right_czrz_cont_title">
				<ul class="czrz_title_ul">
					<li class="number" style="width: 4%">序号</li>
					<li class="time" style="width: 14%">单位名称</li>
					<li class="time" style="width: 9%">加入时间</li>
					<li class="operation" style="width: 14%">地区</li>
					<li class="username" style="width: 14%">上级单位</li>
					<li class="username" style="width: 8%">付费状态</li>
					<li class="username" style="width: 10%">联系人</li>
					<li class="username" style="width: 11%">联系人电话</li>
					<li class="username" style="width: 15%">操作</li>
				</ul>				
			</div>
			<div id="content">
			</div>
		</div>
		<!-- 分页_begin -->
		<div class="page">
	            <a href="#">首页</a>
	            <a href="#">上一页</a>
	            <a class="intro" href="#">1</a>
	            <a href="#">下一页</a>
	            <a href="#">末页</a>
	    </div>
	    <!-- 分页_end -->
	</div>
	<!-- 右侧内容_end -->
	<div class="clear"></div>
	</div>
	<!--main end-->
<%@ include file="/user/foot.jsp"%>
</body>
</html>
